<h1><?php echo $this->pageTitle; ?></h1>
<?php echo $ajax->form('ItsType', 'post', array('id' => 'formMain', 'update'=>'content', 'indicator' => 'indicator', 'url'=>array('action'=>'save'))); ?>

<div class="toolbar">
    <div id="tLeft"><?php echo $this->element('toolbar', array('buttons' => array('back'))); ?></div>
    <div id="tRight"><?php echo $this->element('neighbors', array('model' => 'ItsType', 'title' => 'name')); ?></div>
</div>

<fieldset>
    <legend>ItsType Information</legend>
    <table id="formTable">
        <tbody>
            <?php echo $form->input("ItsType.id"); ?>
            <tr>
                <td width="150px"><?php echo $form->label("ItsType.code", "Code", array('class' => 'required')) ?></td>
                <td><?php echo $form->text("ItsType.code") ?></td>
            </tr>
            <tr>
                <td><?php echo $form->label("ItsType.name", "Name", array('class' => 'required')) ?></td>
                <td><?php echo $form->text("ItsType.name") ?></td>
            </tr>
        </tbody>
    </table>
</fieldset>

<?php echo $form->end(); ?>
